/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package modelo;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Disciplina implements Serializable {
    @Id
    private Long id;
    @Column(length=100, nullable = false)
    private String disc_nome;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDisc_nome() {
        return disc_nome;
    }

    public void setDisc_nome(String disc_nome) {
        this.disc_nome = disc_nome;
    }
    
    
}
